package com.zsrt.bbu.card.dao;

import java.util.List;

import com.zsrt.bbu.card.entity.CardEntity;

public interface CardDao {
	
	
	/**
	 * 银行卡的新增
	 * @param entity
	 * @return
	 * @throws Exception
	 */
	int add(CardEntity entity) throws Exception;
	
	
	List<CardEntity> findAllCards() throws Exception;
	
	int update(CardEntity entity) throws Exception;
	
	CardEntity findById(Integer id) throws Exception;

}
